package com.zzw.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzw.springboot.bean.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 赵志伟
 * @version 1.0
 */
@SuppressWarnings({"all"})
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    public List<SysMenu> selectRootMenuList();

    List<SysMenu> selectChildMenuList(@Param("parentId") Integer parentId);

    List<SysMenu> selectChildNodeList(@Param("parentId") Integer parentId);
}
